import Request from '@/axios/request'

export function getWorshipArtists(params) {
  return Request.get('worship-artists', { params })
}

export function createWorshipArtist() {
  return Request.get('worship-artists/create')
}

export function storeWorshipArtist(data) {
  return Request.post('worship-artists', data)
}

export function updateWorshipArtist(id, data) {
  return Request.put(`worship-artists/${id}`, data)
}

export function editWorshipArtist(id) {
  return Request.get(`worship-artists/${id}/edit`)
}

export function destroyWorshipArtist(id) {
  return Request.delete(`worship-artists/${id}`)
}

export function showWorshipArtist(id) {
  return Request.get(`worship-artists/${id}`)
}
